/**
 * @swagger
 * /api/login:
 *   post:
 *     description: 用户登录接口
 *     tags:
 *       - 用户登录接口
 *     requestBody:
 *       description: 登录请求体
 *       required: true
 *       content:
 *         application/json:
 *           schema:
 *             type: object
 *             properties:
 *               username:
 *                 type: string
 *                 description: 用户名，默认为admin
 *                 example: admin
 *               password:
 *                 type: string
 *                 description: 密码，默认为123456
 *                 example: 123456
 *     responses:
 *       200:
 *         description: 登录成功
 *         schema:
 *           type: object
 *           properties:
 *             token:
 *               type: string
 *               description: 登录成功后返回的访问令牌
 *       401:
 *         description: 用户名或密码错误
 *         schema:
 *           $ref: '#/definitions/Error'
 *       500:
 *         description: 服务器内部错误
 *         schema:
 *           $ref: '#/definitions/Error'
 *
 */
